package com.dhcc.bpm.modules.bbs.service.impl;

import com.dhcc.bpm.modules.bbs.entity.Sensitive;
import com.dhcc.bpm.modules.bbs.vo.SensitiveVO;
import com.dhcc.bpm.modules.bbs.mapper.SensitiveMapper;
import com.dhcc.bpm.modules.bbs.service.ISensitiveService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName SensitiveServiceImpl
 * @Description 敏感词汇表 服务实现类
 * @Author daina
 * @Date 2020/4/14 10:24
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
@Service
public class SensitiveServiceImpl extends BaseServiceImpl<SensitiveMapper, Sensitive> implements ISensitiveService {
	/**
	 * @Description 自定义分页 查询列表信息
	 * @Author daina
	 * @Date 10:31 2020/4/14
	 * @param page
	 * @param sensitive
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.bbs.vo.SensitiveVO>
	 **/
	@Override
	public IPage<SensitiveVO> selectSensitivePage(IPage<SensitiveVO> page, SensitiveVO sensitive) {
		return page.setRecords(baseMapper.selectSensitivePage(page, sensitive));
	}

}
